<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Topic</title>
<link rel="stylesheet" type="text/css" href="../css/simple.css"
	charset="utf-8" />
<script src="../scripts/FormUtil.js" charset="utf-8"></script>
<script src="../scripts/validator.js" charset="utf-8"></script>
<script src="../scripts/util.js" charset="utf-8"></script>
<script src="Topic.js" charset="utf-8"></script>
</head>

<body>
	<h3>专题</h3>
	<div align="center">
		<form id="searchForm">
			<label for="name">名字</label> <input type="text" name="name" value=""
				maxlength="255" /> <label for="enabled">是否启用</label> <select
				name="enabled">
				<option value="Y">是</option>
				<option value="N">否</option>
			</select> <label for="keyword">关键字</label> <input id="keyword" name="keyword" />
			&nbsp;&nbsp;<a onclick="searchKeyword()">搜索</a>
		</form>
	</div>
	<div style="margin-top: 20px">
		<a id="TopicAddBtn" class="fl">添加</a> <a id="TopicDelBtn" class="fr">删除选中</a>
	</div>
	<table id="TopicTable" border="1">
		<tr>
			<th><input type="checkbox" id="checkboxAll" /></th>

			<th>编号</th>
			<th>名字</th>
			<th></th>
			<th>是否启用</th>
			<th>创建时间</th>
			<th>更新时间</th>
			<th>&nbsp;</th>
			<th>&nbsp;</th>
		</tr>


		<tr id="row_template">
			<td><input type="checkbox" name="checkbox" value="" /></td>
			<td>id</td>
			<td>name</td>
			<td><a>文章列表</a></td>
			<td>enabled</td>
			<td>created</td>
			<td>modified</td>
			<td><a class="edit">编辑</a></td>
			<td><a class="del">删除</a></td>
		</tr>

	</table>

	<br />

	<table border="1">
		<tr>
			<td id="page"></td>
		</tr>
	</table>

	<div id="TopicEditPanel" style="display: none">
		<form id="TopicEditForm" name="TopicEditForm">
			<table border="1">
				<tr>
					<td class="tac">编号</td>
					<td><input type="hidden" name="id" value="$!topic.id" /></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="tac">名字</td>
					<td><input type="text" name="name" value="" maxlength="255" /></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td class="tac">是否启用</td>
					<td><select name="enabled">
							<option value="Y">是</option>
							<option value="N">否</option>
					</select></td>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td><input id="TopicSaveBtn" type="button" value="提交" /></td>
					<td>&nbsp;</td>
				</tr>
			</table>
		</form>
	</div>


</body>
</html>
